package com.linpq.road.domain;

import java.util.Date;
import com.linpq.common.annotation.Excel;
import com.linpq.common.core.domain.DataEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 交通信息对象 rd_traffic_info
 *
 * @author linpq
 * @date 2021-07-29
 */
public class RdTrafficInfo extends DataEntity<RdTrafficInfo> {
private static final long serialVersionUID=1L;

    /** 归属路桩 */
    @Excel(name = "归属路桩")
    private String fkId;
    /** 删除标志 */
    private String delFlag;
    /** 数据日期 */
    @Excel(name = "数据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dataTime;
    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNumber;
    /** 年平均交通量 */
    @Excel(name = "年平均交通量")
    private String annualAverageDailyTraffic;
    /** 通车时间 */
    @Excel(name = "通车时间")
    private String openingTime;
    /** 保养时间 */
    @Excel(name = "保养时间")
    private String upkeepTime;
    /** 建路时间 */
    @Excel(name = "建路时间")
    private String createRoldTime;
    /** 车道数 */
    @Excel(name = "车道数")
    private String laneNumber;
    /** 交通等级 */
    @Excel(name = "交通等级")
    private String trafficLevel;
    public void setFkId(String fkId){
        this.fkId = fkId;
    }

    public String getFkId(){
        return fkId;
    }
    public void setDelFlag(String delFlag){
        this.delFlag = delFlag;
    }

    public String getDelFlag(){
        return delFlag;
    }
    public void setDataTime(Date dataTime){
        this.dataTime = dataTime;
    }

    public Date getDataTime(){
        return dataTime;
    }
    public void setSerialNumber(String serialNumber){
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber(){
        return serialNumber;
    }
    public void setAnnualAverageDailyTraffic(String annualAverageDailyTraffic){
        this.annualAverageDailyTraffic = annualAverageDailyTraffic;
    }

    public String getAnnualAverageDailyTraffic(){
        return annualAverageDailyTraffic;
    }
    public void setOpeningTime(String openingTime){
        this.openingTime = openingTime;
    }

    public String getOpeningTime(){
        return openingTime;
    }
    public void setUpkeepTime(String upkeepTime){
        this.upkeepTime = upkeepTime;
    }

    public String getUpkeepTime(){
        return upkeepTime;
    }
    public void setCreateRoldTime(String createRoldTime){
        this.createRoldTime = createRoldTime;
    }

    public String getCreateRoldTime(){
        return createRoldTime;
    }
    public void setLaneNumber(String laneNumber){
        this.laneNumber = laneNumber;
    }

    public String getLaneNumber(){
        return laneNumber;
    }
    public void setTrafficLevel(String trafficLevel){
        this.trafficLevel = trafficLevel;
    }

    public String getTrafficLevel(){
        return trafficLevel;
    }

@Override
public String toString(){
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                                .append("id",getId())
                                .append("fkId",getFkId())
                                .append("createBy",getCreateBy())
                                .append("createTime",getCreateTime())
                                .append("updateBy",getUpdateBy())
                                .append("updateTime",getUpdateTime())
                                .append("remark",getRemark())
                                .append("delFlag",getDelFlag())
                                .append("dataTime",getDataTime())
                                .append("serialNumber",getSerialNumber())
                                .append("annualAverageDailyTraffic",getAnnualAverageDailyTraffic())
                                .append("openingTime",getOpeningTime())
                                .append("upkeepTime",getUpkeepTime())
                                .append("createRoldTime",getCreateRoldTime())
                                .append("laneNumber",getLaneNumber())
                                .append("trafficLevel",getTrafficLevel())
                .toString();
        }
}
